<?php

namespace plugins\rwechat\controller;

use cmf\controller\PluginAdminBaseController;
use traits\controller\Jump;
use plugins\rwechat\lib\Wechat;

class Controller extends PluginAdminBaseController
{
    use Jump;

    public function __construct()
    {
        parent::__construct();
        $this->assign('curr_url', request()->url());
    }

    protected function wxapp()
    {
        return Wechat::app();
    }
}